package ycl.common.models.req.login;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 用户名密码
 *
 * @author ycl
 * @date 2022/6/14 0014 19:44:28
 */
@Data
public class UsernamePasswordReq {

	@Schema(description = "用户名")
	@NotBlank(message = "用户名不能为空")
	private String username;

	@Schema(description = "密码")
	@NotBlank(message = "密码不能为空")
	private String password;
}
